/**
 * 
 */
package com.wicket.tutorial;

import java.util.ArrayList;
import java.util.List;

import org.apache.wicket.model.IModel;

/**
 * @author Ernesto
 *
 */
public class TutorialSection {
		
	private IModel<String> title;
	
	private List<TutorialLink> pages = new ArrayList<TutorialLink>();
	
	public TutorialSection(IModel<String> title) {
		super();
		this.title = title;
	}
	
	public List<TutorialLink> getPages() {
		return pages;
	}

	public IModel<String> getTitle() {
		return title;
	}

	public void setTitle(IModel<String> title) {
		this.title = title;
	}	
	
	public TutorialSection add(TutorialLink tutorialLink) {
		pages.add(tutorialLink);
		return this;
	}
	
	
	
}
